package me.zhengjie.modules.insurance.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 案件处理请求
 *
 * @author HeHui
 * @date 2022-01-04 23:37
 */
@Data
public class InsuredApplyHandlerRequest implements Serializable {
    private static final long serialVersionUID = 8091051284071887728L;

    @NotNull(message = "缺少ID")
    private Long id;

    @ApiModelProperty(value = "案件状态")
    private Integer caseStatus;


    @ApiModelProperty(value = "主险赔付金额")
    private BigDecimal mainInsuredCompensationAmount;

    @ApiModelProperty(value = "附加险赔付金额")
    private BigDecimal additionalMainInsuredCompensationAmount;

    @ApiModelProperty(value = "其他金额")
    private BigDecimal otherAmount;


    @ApiModelProperty(value = "理赔对象，1骑手,2公司,3三者")
    @NotNull(message = "请选择赔付对象")
    private Integer claimType;

    @ApiModelProperty("主要资料")
    private List<String> mainDoc;

    @ApiModelProperty("附加资料")
    private List<String> additionalDoc;


    /**
     * 沟通内容
     */
    @ApiModelProperty("沟通内容")
    @Length(max = 500,message = "沟通内容不能超过500")
    private String connectContent;

    /**
     * 沟通方式
     */
    @ApiModelProperty("沟通方式0其他，1微信，2电话")
    @NotNull(message = "请选择沟通方式")
    private Integer connectType;

    /**
     * 下次沟通时间
     */
    @ApiModelProperty("下次沟通时间")
    private Date nextConnectTime;

    /**
     * 案件备注
     */
    @ApiModelProperty("案件备注")
    @Length(max = 200,message = "案件备注不能超过200")
    private String caseRemarks;

    private Long mainScheme;

    private Long additionalScheme;
}
